home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_22134.txt < prev    next >
Text File  |  1989-02-26  |  2KB  |  53 lines

  1. -- card: 22134 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. From: kurtzman@pollux.usc.edu (Stephen Kurtzman)
  12.  
  13. Date: 1 Mar 88 07:09:41 GMT
  14.  
  15. >I call the above construction an "unquoted literal".
  16.  
  17. >Unfortunately, I'm still the only person in the world who knows many
  18. >secrets of HyperTalk, such as exactly where unquoted literals are
  19. >allowed, where they're not, where they are restricted to single tokens,
  20. >and where they can be multiple tokens.
  21.  
  22. >Unquoted literals exist only for lazy typists and forgetful beginners.
  23. >If you can at all manage to supply the quotes, it's much better that
  24. >way, mainly because statements that use unquoted literals can suddenly
  25. >begin to behave differently if you ever define a variable with the same
  26. >name as the unquoted literal.  Fortunately, only the handler can define
  27. >things in its scope, but it's still dangerous.
  28.  
  29. As stated, if an unquoted literal becomes a valid variable name, the
  30. HyperTalk command will be interpreted in a different way. It is also
  31. wise to remember that a misspelled variable name will be interpretted as
  32. an unquoted literal.
  33.  
  34. While the unquoted literal was added for beginners, it is a pain for both
  35. the experienced programmer and the beginner alike. It took me quite a
  36. while to discover a misspelled variable name - HyperCard was working
  37. it just kept going to the wrong card. This inconsistent interpretation,
  38. in which the same statement will have a different meaning based on the
  39. set of variable defined in the stack, is enough to make beginners give
  40. up in frustration. It is misfeatures such as the unquoted literal that
  41. can make programming in HyperText a pain.
  42.  
  43. Dan, since you are upset at the quality of HyperText books on the market,
  44. and you admit you are one of the few who knows all the ins-and-outs, please
  45. tell your marketing people at Apple to hire some technical writers to
  46. produce a real HyperText manual. With you help, I am sure they can produce
  47. a manual that will meet even your high standards.
  48.  
  49.  
  50.  
  51. -- part contents for background part 45
  52. ----- text -----
  53. Re: HyperCard bug  <- No, it's a feature.